Merge 2 dictionaries and try to update the sum if there is common keys